
body {
  background-color: rgb(90, 90, 90);
}
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 50px;
}

.loader {
  width: 60px;
  height: 60px;
  background-color: #fff;
  position: relative;
  animation: loading-transform 2s linear infinite;
}

@keyframes loading-transform {
  0% {transform: rotate(0deg)}
  50% {transform: rotate(180deg)}
  100% {transform: rotate(180deg)}
}
@keyframes loading-height {
  0% {height: 0}
  50% {height: 0}
  100% {height: 52px}
}
.loader:after {
  content: '';
  display: inline-block;
  width: 52px;
  height: 0;
  position: absolute;
  left: 4px;
  top: 4px;
  background-color: #666;
  animation: loading-height 2s linear infinite;
}

